package com.qfedu.knowledge.service;

import com.qfedu.knowledge.entity.bo.FileInfoBO;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * @ClassName IUploadService
 * @Author ykx
 * @Date 2024/5/1 18:35
 * @Version 1.0
 */
public interface IUploadService {
    FileInfoBO upload(MultipartFile multipartFile, Long questionId) throws IOException;

    String importQuestion(MultipartFile multipartFile);

    FileInfoBO uploadImage(MultipartFile multipartFile, Long id) throws IOException;
}
